Sadly symlinks don't work on Windows.#1173
Conversation
So I have to make {ntpath,macpath}.pyi real copies of posixpath.pyi.
|
|
|
That mystified me too, but apparently mypy carefully never follows the symlink -- it always loads Unless I totally misunderstood the error from AppVeyor: |
|
FWIW I stack-overflowed this and the situation is dear: http://stackoverflow.com/questions/5917249/git-symlinks-in-windows I don't really want to write a post-checkout script so I guess we should get rid of the symlinks. |
|
That's unfortunate, I'm worried that we'll end up with changes being applied to only one of the files. Maybe we can add a test that ensures that the contents of |
|
You're also welcome to write that post-checkout script. :-) FWIW we also have this problem in our Windows wheels -- I just checked out https://pypi.python.org/pypi/mypy/0.501 and sadly it looks like the file .../stdlib/2/builtins.pyi there is a plain text file containing the text |
This reverts commit 8b835f9.
This reverts commit 8b835f9. (Because we've fixed the issue in python/mypy#3213.)
So I have to make {ntpath,macpath}.pyi real copies of posixpath.pyi.